package com.qst.entity;
/**
 *
 * @author qst
 * 动物实体类
 */
public class Animal { //动物姓名
    private String name;
    //动物行为
    private String action;
    //动物状态
    private String condition;
    /** 构造函数-1 **/
    public Animal() {
        super();
    }

    /** 构造函数-2 **/
    public Animal(String name, String action, String condition) {
        super();
        this.name = name;
        this.action = action;
        this.condition = condition;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getAction() {
        return action;
    }
    public void setAction(String action) {
        this.action = action;
    }
    public String getCondition() {
        return condition;
    }
    public void setCondition(String condition) {
        this.condition = condition;
    }
}
